/***
General reset
***/

/* Set default body */

body { 
    color: $text-color; 
    font-family: $font-family-primary;
    padding: 0px !important;
    margin: 0px !important;
    font-size: $font-size-base; 
    direction: $direction;
}

/*
 Internet Explorer 10 doesn't differentiate device width from viewport width, and thus doesn't 
 properly apply the media queries in Bootstrap's CSS. To address this, 
 you can optionally include the following CSS and JavaScript to work around this problem until Microsoft issues a fix.
*/

@-webkit-viewport { 
    width: device-width; 
}

@-moz-viewport { 
    width: device-width; 
}

@-ms-viewport { 
    width: device-width; 
}

@-o-viewport { 
    width: device-width; 
}

@viewport { 
    width: device-width; 
}

/*
 Internet Explorer 10 doesn't differentiate device width from viewport width, 
 and thus doesn't properly apply the media queries in Bootstrap's CSS. To address this, following CSS code applied 
*/

@-ms-viewport { 
    width: auto !important; 
}


/* Custom scrollbars for webkit browsers */

::-webkit-scrollbar {  
    width: $webkit-scrollbar-width;  
}  

::-webkit-scrollbar-track {  
    background-color: $webkit-scrollbar-track;  
    border-left: 1px solid $webkit-scrollbar-thumb;  
}  

::-webkit-scrollbar-thumb {  
    background-color: $webkit-scrollbar-thumb;  
}  

::-webkit-scrollbar-thumb:hover {  
    background-color: $webkit-scrollbar-thumb-hover;  
}  

::-webkit-scrollbar-track {
    border-radius: 0;
    box-shadow: none;
    border: 0; 
}

::-webkit-scrollbar-thumb {
    border-radius: 0;
    box-shadow: none;
    border: 0; 
}

/* Reset round corners */

div, 
input, 
select, 
textarea, 
span, 
img, 
table, 
label,
td, 
th, 
p, 
a, 
button, 
ul,
code,
pre, 
li {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.img-circle {
    border-radius: 50% !important;
}

.img-rounded {
    border-radius: 6px !important;
}